<?php get_header();?>
		<div class="layui-content">
			<div class="layui-container <?php $module_home = _read('home_mode'); foreach ($module_home['enabled'] as $key => $value) if($key=='home-blog'){echo 'layui-container-blog';} ?>">
				<div class="layui-row main">
	<?php $module_home = _read('home_mode');
		if (!$module_home['enabled']) {
		    echo '<h2 style=" text-align: center; margin: 0 auto; padding: 60px; ">请前往后台-主题设置-设置首页模块！</h2>';
		}
		if ($module_home['enabled']) {
		    foreach ($module_home['enabled'] as $key => $value) {
		        @get_template_part('home/'.$key);
		    }
		}

	?>
</div>
			</div>
			<div class="pagination" id="pagenavi">
              <p><?php lingfeng_pagenavi();?></p>
</div>
		</div>
<!-- 页面布局结束 -->
<?php get_footer();?>